<?php
error_reporting(E_ALL|E_STRICT);
ini_set('display_errors', 1);
date_default_timezone_set('Europe/Moscow');


set_include_path('.' . PATH_SEPARATOR . '../library/'
    . PATH_SEPARATOR . '../application/models'
    . PATH_SEPARATOR . get_include_path());

require_once 'Zend/Loader/Autoloader.php';

$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->setFallbackAutoloader(true);


$frontController = Zend_Controller_Front::getInstance();
$frontController->throwExceptions(true);
$frontController->setControllerDirectory('../application/controllers');


$frontController->dispatch();